<style>
.layui-form-label{
	width:100px
}
</style>
<div class="layui-tab layui-tab-brief">
	<ul class="layui-tab-title">
  		<li class="layui-this">
       		<a href="javascript:;" class="" id="">添加代理</a>
     	</li> 
	</ul>
 	<div class="layui-tab-content page-tab-content">
   		<form class="layui-form" action="{:url()}" method="post">
			<div class="layui-tab-item layui-show">
			    <div class="layui-form-item">
			        <label class="layui-form-label">姓名</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="dlname" value="">
			        </div>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">代理等级</label>
			        <div class="layui-input-inline">
			            <select name="pid" class="field-pid" >
                			<option value="0" level="0">顶级菜单</option> 
            			</select>
			        </div> 
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">身份证号</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="sfzh" value="">
			        </div>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">电话</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="dl_phone" value="">
			        </div> 
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">密码</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="password" value="">
			        </div>
			        <label style="line-height:35px;">默认123456</label>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">区域</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="jtbl" value="">
			        </div> 
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">采购价格</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="cgjg" value="">
			        </div>
			        <label style="line-height:35px;">元/个</label>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">采购返利_平级</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="cgfl_pj" value="">
			        </div>
			        <label style="line-height:35px;">元/个</label>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">采购返利_下级</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="cgfl_xj" value="">
			        </div>
			        <label style="line-height:35px;">元/个</label>
			    </div>
			    <div class="layui-form-item">
			        <label class="layui-form-label">采购返利_越级</label>
			        <div class="layui-input-inline">
			            <input type="text" class="layui-input field-name" name="cgfl_yj" value="">
			        </div>
			        <label style="line-height:35px;">元/个</label>
			    </div>
			</div> 
			<div class="layui-form-item">
			    <div class="layui-input-block">
			        <input type="hidden" class="id" name="id" value="">
			        <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit">提交</button>
			        <a href="{:url('level')}" class="layui-btn layui-btn-primary ml10"><i class="aicon ai-fanhui"></i>返回</a>
			    </div>
			</div>
		</form> 
	</div>
</div>
{include file="block/layui" /}